//
//  BGOAnalyticsConstants.h
//  Bango
//

#define BGO_SDK_TYPE 3

#define BGO_SDK_VERSION @"5.0.4"

#define BGO_POST_RESPONSE_SUCCESS @"OK"
#define BGO_POST_RESPONSE_SUCCESS_WITH_MINOR_ERRORS @"OK_WITH_ERRORS"

#define BGO_ERROR_TAG @"BANGO_INAPP_ANALYTICS"

#define BGO_VIDEO_PARAMETERNAME @"BGO_VIDEOTYPE"
#define BGO_VIDEO_LIVEPARAMETER @"LIVE"
#define BGO_VIDEO_ONDEMANDPARAMETER @"ONDEMAND"

#define BGO_POSTDELAY_SESSIONEND 10000L

#define BGO_WIFI_CONNECTION -999

#define BGO_UNKNOWN_VERSION @"Unknown"

#define BGO_ERROR_NONE 0
#define BGO_ERROR_USER 1
#define BGO_ERROR_INTERNAL_CRITICAL -1
#define BGO_ERROR_INTERNAL_WARNING -2

#define BGO_TRANSMIT_TIMEOUT 240.0f

#define BGO_SETTING_POST_URL @"https://bango.net/AppAnalytics/"
// TODO: Delete these below once finished testing
// this is used in the andorid code - does not seem to work for us
#define BGO_SETTING_POST_URL_USED_IN_ANDROID @"http://bango.com/InAppAnalyticsWeb/service.aspx"
#define BGO_SETTING_POST_URL_DEBUG @"https://bango.net/appanalytics/debug/"
#define BGO_SETTING_POST_DEV @"http://dev.bango.org/AppAnalytics/" 

#define BGO_SETTING_USEOFFLINESTORAGE YES
#define BGO_SETTING_LOGEVENTS YES
#define BGO_SETTING_SESSION_RESUME_PERIOD 10

#define BGO_DATETIME_FORMAT @"yyyy-MM-dd'T'HH:mm:ss.SSS"

#define BGO_CONNECTION_TYPE_WIFI @"WIFI"
#define BGO_CONNECTION_TYPE_OPERATOR @"OPERATOR"
#define BGO_CONNECTION_TYPE_OTHER @"OTHER"

#define BGO_LOCATION_CELL @"NETWORK"
#define BGO_LOCATION_ASSISTED @"ASSISTED"
#define BGO_LOCATION_GPS @"GPS"

